package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.SensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;

/**
* @author 马毅爽
* @description 针对表【wm_sensitive(敏感词信息表)】的数据库操作Service
* @createDate 2023-12-17 15:28:50
*/
public interface WmSensitiveService extends IService<WmSensitive> {

    ResponseResult listByDto(SensitiveDto dto);

    ResponseResult saveOrUpdateOne(WmSensitive sensitive);

    ResponseResult delete(Integer id);
}
